Skip to content

Sync docs to 0.2.0-preview2: DP026-055, guard/tracing/DI/async/pooling#9

Merged
Skymly merged 1 commit into
mainfrom
feature/docs-sync-020-preview2
Jun 28, 2026
Merged

Sync docs to 0.2.0-preview2: DP026-055, guard/tracing/DI/async/pooling#9
Skymly merged 1 commit into
mainfrom
feature/docs-sync-020-preview2

Conversation

@Skymly

@Skymly Skymly commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Summary

The user documentation site was stuck at 0.1.0-preview3 coverage while the library shipped 0.2.0-preview2 with major new features across all 8 patterns.

Version updates (EN + ZH)

  • index.md, getting-started.md, reference.md: 0.1.0-preview30.2.0-preview2
  • reference.md: added Autofac extension row, updated analyzer ID list
  • Diagnostics range: DP001–DP025DP001–DP055

New diagnostic sections (EN + ZH diagnostics.md)

ID range Topic
DP032/034/035 State guard method validation
DP036 State literal edge validation
DP037–DP039 State entry/exit action validation
DP040–DP041 Composite DI + Visitor
DP042–DP043 Decorator DI + async
DP044–DP046 EventAggregator source generator
DP047–DP049 Strategy guard
DP050–DP052 Handler guard
DP053–DP055 Factory async + pooling

New pattern feature sections (EN user docs)

  • strategy.md: guard predicates (TryGetWithGuard, [RegisterStrategy(Guard=)]), execution tracing (ExecuteTracedAsync, StrategyExecutionTrace, IStrategyExecutionObserver)
  • chain-of-responsibility.md: guard predicates ([HandlerOrder(Guard=)], Skipped status), exception observability (Failed status, IHandlerExceptionObserver)
  • composite.md: DI integration (RegisterDi, BuildRoot(IServiceProvider), DP040), visitor generation (I{Contract}NodeVisitor, DP041)
  • decorator.md: DI integration (RegisterDi, Build(IServiceProvider, core)), async variant (IAsyncDecorator<T>, DP042–DP043)
  • event-aggregator.md: source generator ([RegisterEventHandler<TEvent>], DP044–DP046), error isolation (EventPublishErrorHandling), publish tracing (PublishTracedAsync, IEventPublicationObserver)
  • state-transition-table.md: guard predicates, entry/exit actions, IStateMachine wrapper, TransitionTrace, DI integration
  • factory-registry.md: async factory (IAsyncFactoryRegistry), pooled factory (IPooledFactoryRegistry, ArrayPool<T>)
  • dependency-injection.md: async/pooled factory + state machine + Autofac integration

Test plan

  • npm run docs:build passes (VitePress v1.6.4, exit 0)
  • Visual review of rendered pages on preview deploy
  • Confirm diagnostic anchors (#dp032#dp055) match IDE help links

The user documentation site was stuck at 0.1.0-preview3 coverage
while the library shipped 0.2.0-preview2 with major new features.

Version updates:
- index.md, getting-started.md, reference.md: 0.1.0-preview3 ->
  0.2.0-preview2 (EN + ZH)
- reference.md: add Autofac extension row, update analyzer ID list
- diagnostics range: DP001-DP025 -> DP001-DP055

New diagnostic sections (EN + ZH diagnostics.md):
- DP026-DP031 State transition table (already had heading, content
  was missing in ZH)
- DP032/034/035 State guard method validation
- DP036 State literal edge validation
- DP037-DP039 State entry/exit action validation
- DP040-DP041 Composite DI + Visitor
- DP042-DP043 Decorator DI + async
- DP044-DP046 EventAggregator source generator
- DP047-DP049 Strategy guard
- DP050-DP052 Handler guard
- DP053-DP055 Factory async + pooling

New pattern feature sections (EN user docs):
- strategy.md: guard predicates, execution tracing
- chain-of-responsibility.md: guard predicates, exception observability
- composite.md: DI integration, visitor generation
- decorator.md: DI integration, async variant
- event-aggregator.md: source generator, error isolation, publish tracing
- state-transition-table.md: guard predicates, entry/exit actions,
  IStateMachine wrapper, TransitionTrace, DI integration
- factory-registry.md: async factory, pooled factory
- dependency-injection.md: async/pooled factory + state machine +
  Autofac integration

VitePress build passes (exit 0).
@Skymly
Skymly merged commit ac5c1c4 into main Jun 28, 2026
2 checks passed
@Skymly
Skymly deleted the feature/docs-sync-020-preview2 branch June 28, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant